#include<fstream>
#include<cstdio>
#include<algorithm>
#include<iostream>
#include<cstring>
#include<map>
#include<vector>
#include<cstdlib>

#include "Charnode.h"
//#include "HuffmanCode.h"
#include "globals.h"
#include "bitops.h"
#include "Decompressor.h"

using namespace std;

int main(int argc, char * argv[])
{
	LOG(__func__);
	if(argc != 3)
	{
		cout<<"Usage "<<argv[0]<< " Input file "<<" Outputfile\n";
		exit(0);
	}
	Decompressor<char> compressedfile(argv[1],argv[2]);
	compressedfile.decompress();

	//cin.get();
	//cin.get();
}
